package org.example.mybatis_demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.mybatis_demo.model.UserInfo;

import java.util.List;

@Mapper
public interface UserInfoXmlMapper {
    void insert(UserInfo userInfo);
    Integer delete(Integer id);
    Integer update(UserInfo userInfo);
    List<UserInfo> selectAll();

    Integer insertbyCondtion(UserInfo userInfo);

    List<UserInfo> queryUserByCondition(UserInfo userInfo);

    Integer updateUserByCondition(UserInfo userInfo);

   Integer batchDelete(List<Integer> list);

}
